package entity.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 会员表
 * </p>
 *
 * @author ZL
 * @since 2022-11-12
 */
@Getter
@Setter
@TableName("member")
public class Member implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 会员名称
     */
    @TableField("member_name")
    private String memberName;

    /**
     * 会员标识
     */
    @TableField("member_flag")
    private String memberFlag;

    /**
     * 会员描述
     */
    @TableField("member_remark")
    private String memberRemark;

    /**
     * 会员增收 1级 1%  2级2.5% 3级 5%
     */
    @TableField("member_increment")
    private Integer memberIncrement;

    /**
     * 开始时间
     */
    @TableField("begin_time")
    private LocalDateTime beginTime;

    /**
     * 结束时间
     */
    @TableField("over_time")
    private LocalDateTime overTime;

    /**
     * 删除标识
     */
    @TableField("delete_flag")
    private String deleteFlag;


}
